import {post} from "./axios"

// 课包列表
const getClassList = async function(data) {
    const url = `/admin/signClass/list`
    return await post(url, data)
}

// 添加课包
const addClass = async function(data) {
    const url = `/admin/signClass/add`
    return await post(url, data)
}

// 编辑课包
const editClass = async function(data) {
    const url = `/admin/signClass/edit`
    return await post(url, data)
}

// 批量设置删除
const batchEdit = async function(data) {
    const url = `/admin/signClass/batchEdit`
    return await post(url, data)
}
export {
    getClassList,
    addClass,
    editClass,
    batchEdit
}
